package org.jsola.hr.vo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.Date;

import static org.jsola.contract.example.ContractExample.*;

/**
 * 合同列表导出VO
 *
 * @author wcl
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ContractExportVO extends BaseVO {

    @ExcelProperty(value = "员工姓名")
    @ApiModelProperty(notes = N_PARTY_B_NAME, example = E_PARTY_B_NAME)
    private String partyBName;

    @ExcelProperty(value = "联系电话")
    @ApiModelProperty(notes = N_PARTY_B_PHONE, example = E_PARTY_B_PHONE)
    private String partyBPhone;

    @ExcelProperty(value = "用工单位")
    @ApiModelProperty(notes = "用工单位")
    private String subjectName;

    @ExcelProperty(value = "合同名称")
    @ApiModelProperty(notes = N_NAME, example = E_NAME)
    private String name;

    @ExcelProperty(value = "合同编号")
    @ApiModelProperty(notes = N_CONTRACT_NO, example = E_CONTRACT_NO)
    private String contractNo;

    @ExcelProperty(value = "签署编号")
    @ApiModelProperty(notes = N_SIGN_NO, example = E_SIGN_NO)
    private String signNo;

    @ExcelProperty(value = "签署状态")
    @ApiModelProperty(notes = "签署状态(字符串)", example = E_STATUS)
    private String statusString;

    @ApiModelProperty(notes = N_PUBLISH_DATE, example = E_PUBLISH_DATE)
    private Date publishDate;

    @ExcelProperty(value = "合同开始时间")
    @ApiModelProperty(notes = N_PUBLISH_DATE, example = E_PUBLISH_DATE)
    private String publishDateString;

    @ApiModelProperty(notes = N_END_DATE)
    private Date endDate;

    @ExcelProperty(value = "合同到期时间")
    @ApiModelProperty(notes = N_PUBLISH_DATE, example = E_PUBLISH_DATE)
    private String endDateString;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private Long id;

    @ApiModelProperty(notes = "合同类型", example = E_CONTRACT_TYPE)
    private String fileType;

//    @ExcelProperty(value = "合同类型")
    @ApiModelProperty(notes = "合同类型(字符串)", example = E_CONTRACT_TYPE)
    private String fileTypeString;

    @ApiModelProperty(notes = N_CONTRACT_TYPE, example = E_CONTRACT_TYPE)
    private Integer contractType;

    @ApiModelProperty(notes = N_STATUS, example = E_STATUS)
    private Integer status;



    @ApiModelProperty(notes = N_APP_IS_SHOW, example = E_APP_IS_SHOW)
    private Boolean appIsShow;

//    @ExcelProperty(value = "小程序是否展示")
    @ApiModelProperty(notes = "小程序是否展示(字符串)", example = E_APP_IS_SHOW)
    private String appIsShowString;

    @ApiModelProperty(notes = "用工单位id")
    private String subjectId;


}
